import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { NgZorroAntdModule } from 'ng-zorro-antd';
import { AppComponent } from './app.component';
import { AppRoutingModule } from './app-routing.module';
import { HomeComponent } from './home/home.component';
import { UserManagerComponent } from './user-manager/user-manager.component';
import { HouseManagerComponent } from './house-manager/house-manager.component';
import { UserFormComponent } from './user-form/user-form.component';
import { UserUploadFormComponent } from './user-upload-form/user-upload-form.component';
import { JobsManagerComponent } from './jobs-manager/jobs-manager.component';
import { MessageComponent } from './message/message.component';
import { MessageFormComponent } from './message-form/message-form.component';
import { DatePipe } from './date.pipe';
import { JobStatePipe } from './job-state.pipe';


import { AddJobComponent } from './add-job/add-job.component';
import {RoleComponentComponent} from './role-component/role-component.component';
import { MenuComponent } from './menu/menu.component';
import { AddMenuFormComponent } from './add-menu-form/add-menu-form.component';
import { ImgComponent } from './img/img.component';
import { StringPipe } from './string.pipe';
import { LoginComponent } from './login/login.component';
@NgModule({
  declarations: [
    AppComponent,
    HomeComponent,
    LoginComponent,
    UserManagerComponent,
    HouseManagerComponent,
    UserFormComponent,
    UserUploadFormComponent,
    JobsManagerComponent,
    MessageComponent,
    MessageFormComponent,
    DatePipe,
    JobStatePipe,
    RoleComponentComponent,
    AddJobComponent,
    AddMenuFormComponent,
    ImgComponent,
    MenuComponent,

    AddMenuFormComponent,

    ImgComponent,

    StringPipe

  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpClientModule,
    BrowserAnimationsModule,
    NgZorroAntdModule.forRoot(),
    AppRoutingModule
  ],
  bootstrap: [AppComponent],
  entryComponents:[
    UserFormComponent,
    UserUploadFormComponent,
    MessageFormComponent,
    AddJobComponent,
    LoginComponent,
    RoleComponentComponent,
    MenuComponent,
    AddMenuFormComponent,
    ImgComponent
  ]
})
export class AppModule { }
